#include <string.h>
#include <stdio.h>


int main() {
    char str[100];
    printf("请输入要处理的字符串：");
    scanf("%s", str);
    
    for (int i = 0; i < strlen(str); i++)
    {
        char b = str[i];
        if ((b >= 'a' && b <= 'w') || (b >= 'A' && b <= 'W')){
            b = b + 3;
            printf("%c",b);
        }
        else if (b == 'x' || b == 'y' || b == 'z' || b == 'X' || b == 'Y' || b == 'Z'){
            b = b - 23;
            printf("%c",b);
        } else {
            printf("%c",b);
        }
            
    }
    return 0;
}